package dd.prog2.musterExercises.ws12set03_function;

public abstract class Function {

	public abstract double map(double x);
	
	public void print(double xMin, double xMax, double delta) {
		for (double x = xMin; x <= xMax; x+=delta)
			System.out.printf("%.2f -> %.2f\n", x, map(x));
	}

}
